INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})

SET(sandboxcore_SOURCES view3d.cpp project.cpp asset.cpp tool.cpp datamapper.cpp projectmodellist.cpp assetmodellist.cpp toolmodellist.cpp)
SET(sandboxcore_HEADERS view3d.h project.h asset.h tool.h datamapper.h projectmodellist.h assetmodellist.h toolmodellist.h)

QT4_WRAP_CPP(sandboxcore_HEADERS_MOC ${sandboxcore_HEADERS})

ADD_LIBRARY(TrySandboxCore SHARED ${sandboxcore_SOURCES} ${sandboxcore_HEADERS_MOC} plugin.h debugshape.cpp line.cpp circle.cpp quad.cpp grid.cpp box.cpp cone.cpp cylinder.cpp)

TARGET_LINK_LIBRARIES(TrySandboxCore ${QT_LIBRARIES})
TARGET_LINK_LIBRARIES(TrySandboxCore TryCore)
TARGET_LINK_LIBRARIES(TrySandboxCore TryGraphics)
